package com.netposa.datawarehouse.bodysearch.web.vo;

import com.netposa.datawarehouse.bodysearch.web.model.Body;

public class BodyVO extends Body {
   private String deviceName;
   private String nodeType;
   private Double longitude;
   private Double latitude;
   private String cameraType;

   public String getDeviceName() {
      return this.deviceName;
   }

   public String getNodeType() {
      return this.nodeType;
   }

   public Double getLongitude() {
      return this.longitude;
   }

   public Double getLatitude() {
      return this.latitude;
   }

   public String getCameraType() {
      return this.cameraType;
   }

   public void setDeviceName(String deviceName) {
      this.deviceName = deviceName;
   }

   public void setNodeType(String nodeType) {
      this.nodeType = nodeType;
   }

   public void setLongitude(Double longitude) {
      this.longitude = longitude;
   }

   public void setLatitude(Double latitude) {
      this.latitude = latitude;
   }

   public void setCameraType(String cameraType) {
      this.cameraType = cameraType;
   }

   public boolean equals(Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof BodyVO)) {
         return false;
      } else {
         BodyVO other = (BodyVO)o;
         if (!other.canEqual(this)) {
            return false;
         } else {
            label71: {
               Object this$deviceName = this.getDeviceName();
               Object other$deviceName = other.getDeviceName();
               if (this$deviceName == null) {
                  if (other$deviceName == null) {
                     break label71;
                  }
               } else if (this$deviceName.equals(other$deviceName)) {
                  break label71;
               }

               return false;
            }

            Object this$nodeType = this.getNodeType();
            Object other$nodeType = other.getNodeType();
            if (this$nodeType == null) {
               if (other$nodeType != null) {
                  return false;
               }
            } else if (!this$nodeType.equals(other$nodeType)) {
               return false;
            }

            label57: {
               Object this$longitude = this.getLongitude();
               Object other$longitude = other.getLongitude();
               if (this$longitude == null) {
                  if (other$longitude == null) {
                     break label57;
                  }
               } else if (this$longitude.equals(other$longitude)) {
                  break label57;
               }

               return false;
            }

            Object this$latitude = this.getLatitude();
            Object other$latitude = other.getLatitude();
            if (this$latitude == null) {
               if (other$latitude != null) {
                  return false;
               }
            } else if (!this$latitude.equals(other$latitude)) {
               return false;
            }

            Object this$cameraType = this.getCameraType();
            Object other$cameraType = other.getCameraType();
            if (this$cameraType == null) {
               if (other$cameraType == null) {
                  return true;
               }
            } else if (this$cameraType.equals(other$cameraType)) {
               return true;
            }

            return false;
         }
      }
   }

   protected boolean canEqual(Object other) {
      return other instanceof BodyVO;
   }

   public int hashCode() {
      
      int result = 1;
      Object $deviceName = this.getDeviceName();
      result = result * 59 + ($deviceName == null ? 43 : $deviceName.hashCode());
      Object $nodeType = this.getNodeType();
      result = result * 59 + ($nodeType == null ? 43 : $nodeType.hashCode());
      Object $longitude = this.getLongitude();
      result = result * 59 + ($longitude == null ? 43 : $longitude.hashCode());
      Object $latitude = this.getLatitude();
      result = result * 59 + ($latitude == null ? 43 : $latitude.hashCode());
      Object $cameraType = this.getCameraType();
      result = result * 59 + ($cameraType == null ? 43 : $cameraType.hashCode());
      return result;
   }

   public String toString() {
      return "BodyVO(deviceName=" + this.getDeviceName() + ", nodeType=" + this.getNodeType() + ", longitude=" + this.getLongitude() + ", latitude=" + this.getLatitude() + ", cameraType=" + this.getCameraType() + ")";
   }
}
